package com.visikard.response;

import org.json.JSONException;

public class UploadCBImageResponse extends BaseResponse {
	private String imageResult;

	public String getImageResult() {
		return imageResult;
	}

	public void setImageResult(String imageResult) {
		this.imageResult = imageResult;
	}

	@Override
	public void extractDataFromServer(String response) throws JSONException {
		super.extractDataFromServer(response);

		// response OK
		if (errorCode == SUCCESS) {
			imageResult = getDataJObject(response).getString("messages");
		}
	}
}
